import http from "@/utils/http";

export const getGatewayInfo = () => {
  return http.get(`system/`)
}

export const updateGatewayInfo = (data) => {
  return http.put("system/", data)
}

export const reload = () => {
  return http.post("system/reloadArgs/")
}

export const reboot = () => {
  return http.post("system/reboot/")
}
